(if (NOT (OR (= #language "français") (= #language "english"))) ((message "Language not supported. The installation will continue in English.")(set #language "english")))
(if (= #language "français")
(
(set #1 "\n\nBienvenue dans l'utilitaire d'installation de Medication.\n\n\nMaintenant, vous pouvez installer ou désinstaller Medication version 1.0")
(set #install "Choisissez. Voulez-vous installer Medication. Ou le désinstaller ?")
(set #installhelp "Si vous voulez lancer Medication, alors choisissez \"Install\". Toutefois, si vous avez essayé Medication et qu'il ne vous convient pas, choisissez \"Uninstall\".\n\n")
(set #3aa "Medication va maintenant être installé dans:\n\n")
(set #3ab "\n\nSi cela n'est pas correct, cliquez \"<< Retour\" et sélectionnez un emplacement différent")
(set #3ba "Medication devrait être installé ici:\n\n")
(set #3bb "\n\nMais il ne le sera pas car vous êtes en mode simulation.")
(set #4 "Les fichiers de Medication vont maintenant être copiés.")
(set #5 "Un Assign \"Medication\" va maintenant être ajouté à votre fichier \"S:User-Startup\".\n\nCeci n'est pas obligatoire, et Medication peut fonctionner sans lui. Toutefois, en acceptant un Assign, les mises à jour seront plus faciles dans l'avenir.")
(set #5help "Il est préférable d'accepter cet Assign. Cele permettra de faciliter les futures mises à jour.")
(set #6 "L'Assign qui était présent dans votre fichier \"S:User-Startup\" va maintenant être éffacé.\n\nIl est préférable d'accepter cette option, sinon vous pourriez avoir des messages d'erreur lors du démarrage de votre ordinateur.")
(set #6help "Si vous n'êtes pas sûr, vous devriez choisir \"Proceed\". Aucun dégât ne sera effectué.")
(set #uninstallnow "Medication va maintenant être effacé de votre système")
(set #uninstallnowhelp "Medication va maintenant être effacé de votre système. Si vous ne voulez pas effacer Medication, alors cliquez sur \"Cancel\" maintenant.")
(set #uninstallcomplete "Medication va maintenant étre effacé de votre système.\n\nMerci d'avoir essayé Medication")
(set #back "<< Retour")
(set #next "Suivant >>")
(set #skip "Skip This Part")
(set #proceed "Continuer")
(set #cancel "Annuler")
(set #oserror "Medication requiert le système 3.0 ou supérieur du Workbench")
(set #errornoexist "L'emplacement sélectionné est invalide. Essayez encore S.V.P.\n\nRappelez-vous qu'un tiroir appelé \"Medication\" sera créé pour vous.")
(set #errornoexisthelp "Vous devez choisir un emplacement où le répertoire Medication pourra être créé. Vous devriez voir le message d'erreur ci-dessous si l'emplacement sélectionné est un fichier ou n'existe pas. Si vous ne pouvez pas choisir où installer Medication, je vous recommande \"Sys:Tools\" (Sélectionnez ceci lorsque vous voyez \"Tiroir Sélectionné\"")
(set #errornoexistsuninstall "L'emplacement sélectionné est invalide. Rappelez-vous de sélectionner l'endroit où est installé Medication.")
(set #askdir "Choisissez l'emplacement d'installation S.V.P. Un nouveau tiroir appelé \"Medication\" sera créé.")
(set #askdirhelp "Choisissez un emplacement où vous voulez installer Medication. Un nouveau répertoire appelé \"Medication\" sera créé ici. Vous avez besoin d'environ 0,5 Mo d'espace libre. Si vous n'êtes pas sûr de l'emplacement à sélectionner, alors \"Sys:Tools\" est un bon emplacement.")
(set #askdiruninstall "Choisissez le répertoire où Medication est installé S.V.P.")
(set #askdirhelpuninstall "Vous devez choisir le répertoire où Medication est installé pour l'effacer. Pour la plupart des gens, c'est \"Medication:\". Cette opération est obligatoire. \n\n")
(set #install2 "Installer")
(set #uninstall2 "Désinstaller")
)
)
(if (= #language "english") (
(set #1 "\n\nWelcome to the Medication installation utility.\n\n\nFrom here, you can install or uninstall Medication version 1.0")
(set #install "Choose. Do you want to install Medication. Or get rid of it?")
(set #installhelp "If you want to run Medication, then click \"Install\". If however, you have tried Medication, and you don't like it, then lick \"Uninstall\".\n\n")
(set #3aa "Medication will now be installed to:\n\n")
(set #3ab "\n\nIf this is incorrect, then press \"<< Back\" and select a different location")
(set #3ba "Medication would have been installed here:\n\n")
(set #3bb "\n\nBut it is not going to be because you are running in pretend mode.")
(set #4 "The Medication files will now be copied over.")
(set #5 "A \"Medication\" assign will now be added to your \"S:User-Startup\" file.\n\nThis step is not needed, and Medication can run without it. However, allowing the assign to be made will make it easier to upgrade to better version in the future.")
(set #5help "It is better that this step IS carried out. It allows future updates to be made more easily.\n\n")
(set #6 "The assign that was present in the \"S:User-Startup\" file will now be removed.\n\nIt is reccommended that this step IS carried out, otherwise you may get error messages when you compluter starts up.\n\n")
(set #6help "If you are not sure, then you should press \"Proceed\" anyway. No damage will be done")
(set #uninstallnow "Medication will now be removed from your system")
(set #uninstallnowhelp "Medication will now be removed from your system. If you do not want Medication to be removed, then press \"cancel\" now.\n\n")
(set #uninstallcomplete "Medication has now been removed from your system.\n\nThank you for trying Medication")
(set #back "<< Back")
(set #next "Next >>")
(set #skip "Skip This Part")
(set #proceed "Proceed")
(set #cancel "Cancel")
(set #oserror "Medication requires version 3.0 or above of the Workbench operating system")
(set #errornoexist "The location you chose is invalid. Please try again.\n\nRemember that a drawer called \"Medication\" will be created for you.")
(set #errornoexisthelp "You must choose a directory for the Medication dictory to be created in. You should only see the above error message if the place you chose is a file or does not exist. If you cannot decide where to place Medication. I reccommend \"Sys:Tools\" (just type that in where you see \"Selected Drawer\")")
(set #errornoexistsuninstall "The location you gave is invaild. Remember to select the place where Medication is installed.")
(set #askdir "Please choose the installation path. A new drawer caled \"Medication\" will be created.")
(set #askdirhelp "Select a place where you want Medication to be installed. A new directory called \"Medication\" will be created there. You will need about 0.5 MB of space. If you are not sure where to put it, then \"Sys:Tools\" is a good place.\n\n")
(set #askdiruninstall "Please select the directory where Medication is installed")
(set #askdirhelpuninstall "You have to select the directory where Medication is insatlled in order to delete it. For most people, this will be \"Medication:\". This step is vital.\n\n")
(set #install2 "Install")
(set #uninstall2 "Uninstall")
))
(if (< (/ (getversion) 65536) 39)
(
(abort #oserror)
)
)
; error handling
(onerror
(if (> @ioerr 0)
(
(message
("An error has occurred during installation. Please check the log file to understand the error.")